﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="static/css/style.css" />
<script  src="static/js/jquery.js"></script>
<script type="text/javascript">
$(function(){	
	//导航切换
	$(".menuson li").removeClass("active");
	$(".menuson li").click(function(){
		$(".menuson li.active").removeClass("active");
		$(this).addClass("active");
	});
	
	$('.title').click(function(){
		var $ul = $(this).next('ul');
		$('dd').find('ul').slideUp();
		if($ul.is(':visible')){
			$(this).next('ul').slideUp();
		}else{
			$(this).next('ul').slideDown();
		}
	});
})	
</script>


</head>

<body style="background:#f0f9fd;">
    
    <dl class="leftmenu">
    
    <sec:authorize access="hasAnyAuthority('ROLE_APPR','ROLE_ADMIN')">
    <dd>
    <div class="title">
    <span><img src="static/images/leftico01.png" /></span>新闻审核
    </div>
    	<ul class="menuson">
    	<li><cite></cite><a href="newsint/newsInt_aprpage?page=1&size=10" target="rightFrame" style="color:#000">审核列表</a><i></i></li>
        <li><cite></cite><a href="newsint/apprHistory?page=1&size=10" target="rightFrame" style="color:#000">审核历史</a><i></i></li>
        </ul>    
    </dd>
    </sec:authorize>
    
    <sec:authorize access="hasAnyAuthority('ROLE_USER','ROLE_ADMIN')">
    <dd>
    <div class="title">
    <span><img src="static/images/leftico02.png" style="margin-top: 5px;margin-left: 5px;margin-right: 5px" /></span>新闻管理
    </div>
    <ul class="menuson">
        <li><cite></cite><a href="newsint/newsInt_page?page=1&size=10" target="rightFrame" style="color:#000">新闻列表</a><i></i></li>
     </ul>     
    </dd>  
    </sec:authorize>
    </dl>
    
</body>
</html>
